<template>
  <!-- 企业上下游 -->
  <div>
    <p style="font-weight: 700">
      上下游企业
      <el-button type="primary" style="margin-left: 20px"
        ><el-icon><Plus /></el-icon>新增</el-button>
    </p>
    <el-table :data="tableData" style="font-size: 12px">
      <el-table-column prop="entUpdownentid" label="序号" />
      <el-table-column prop="entEntname" label="企业名称" />
      <el-table-column prop="netEnttype" label="企业性质" />
      <el-table-column prop="entEntloantotal" label="贷款总额（元）" />
      <el-table-column prop="entEntloanbalance" label="当前贷款余额(元)" />
      <el-table-column label="操作">
        <el-icon style="color: #4eabfe"><Delete /></el-icon>
      </el-table-column>
    </el-table>
  </div>
</template>
      
  <script setup>
import { ref, onMounted } from "vue";
import { shangxiayou } from "../../../apis/Sltapi/GuanLi.ts";
const input = ref("");
var tableData = ref([]);

onMounted(async () => {
  var res = await shangxiayou();
  tableData.value = res.data.data;
  console.log(res);
});
</script>
      
  <style scoped>
.el-input {
  font-size: 5px;
}
</style>>